using SqlSugar;
using System;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 标准角色人员
    /// </summary>
    [SugarTable("CommonRoleUserRelations")]
    public class CommonRoleUserRelation
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid RoleUserRelationId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid? RoleId { get; set; }

        /// <summary>
        /// 组织Code
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        /// 人员Id
        /// </summary>
        public Guid? UserId { get; set; }

        /// <summary>
        /// 人员名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public Guid? CreateUserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public Guid? ModifyUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
    }
}
